package com.maiji.cloud.request.login;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;
import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class RecipeFindAllReqData {

    @ApiModelProperty(value="食谱ID[]")
    private List<String> recipeIds;

    @ApiModelProperty(value="标签ID[]")
    private List<String> labelIds;

    @ApiModelProperty(value="排序字段，默认值：update_time修改时间")
    private String orderBy = "update_time";

    @ApiModelProperty(value="排序规则，默认值：desc降序")
    private String order = "desc";

    @ApiModelProperty(value="菜谱名称或别名")
    private String name;

    @ApiModelProperty(value="浏览数量[]")
    private List<Integer> lookUpNos;

    @ApiModelProperty(value="收藏数量[]")
    private List<Integer> collectionNos;

    @ApiModelProperty(value="点赞数量[]")
    private List<Double> thumbsUpNos;

    @ApiModelProperty(value="上传时间[]")
    private List<Date> uploadTimes;

    @ApiModelProperty(value="修改时间[]")
    private List<Date> updateTimes;

}
